package com.jhx.common.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 *
 * @author jack
 */
public class User implements Serializable{
    /**
     * 网店
     */
    public static final int TYPE_ONLINE = 2;
    /**
     * 实体店
     */
    public static final int TYPE_NOT_ONLINE = 1;
    private static final long serialVersionUID = 2256467268697325095L;
    private String phone;
    private String businessName;
    private String area;

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    /**
     * 省市区
     */
    private String address;
    /**
     * 详细地址
     */
    private String shopAdd;
    @SerializedName(value = "IDCardNum")
    private String IDCard;
    @SerializedName(value = "bankCardNum")
    private String bankNum;
    private String bankName;
    private String realName;
    @SerializedName(value = "registNum")
    private String registerNum;
    private String legal;

    private long dmId;
    private String shopPhoto;
    private String legalIDback;
    private String legalIDfront;
    private double longitude;
    private double latitude;
    private String license;
    private String localIDback;
    private String localIDfront;
    private String localShopPhoto;
    private String localLicense;
    private String provinceName;
    private String cityName;
    private String townName;
    private long cityId;
    private long townId;
    private long provinceId;
    private String discount;
    private String contractName;
    private String contractPhone;
    private String shopPhotoInside;
    private String bankAddress;
    private String bankUser;

    private String levelDesc;

    public String getDiscountNum() {
        return discountNum;
    }

    public void setDiscountNum(String discountNum) {
        this.discountNum = discountNum;
    }

    private long endTime;
    /**
     * 是否设置过平台折扣 0.未设置 1.已设置
     */
    private int isDiscount;
    /**
     * 扣点额度
     */
    private String discountNum;
    /**
     * 设置过平台折扣的Id
     */
    private long discountId = 0;
    /**
     * 是否加盟店 1.是 0.否
     */
    private int isFranchise;
    /**
     * 1=普通店铺 2=网店
     */
    private int type;
    /**
     * 银行卡图标
     */
    private String bankIcon;
    @SerializedName("headImg")
    /**
     * 头像
     */
    private String headImage;
    /**
     * 等级标识
     */
    private String vipIcon;
    private String qrcode;
    /**
     * 店铺分类ID
     */
    private String oneCategoryId;
    /**
     * 店铺分类名字
     */
    private String categoryName;

    private int authStatus;
    private long createTime;
    private String remark;
    private String imagePath;
    private int state;
    private String businessDesc;
    private String oneCategoryName;

    @Override
    public String toString() {
        return "User{" +
                "phone='" + phone + '\'' +
                ", businessName='" + businessName + '\'' +
                ", area='" + area + '\'' +
                ", address='" + address + '\'' +
                ", shopAdd='" + shopAdd + '\'' +
                ", IDCard='" + IDCard + '\'' +
                ", bankNum='" + bankNum + '\'' +
                ", bankName='" + bankName + '\'' +
                ", realName='" + realName + '\'' +
                ", registerNum='" + registerNum + '\'' +
                ", legal='" + legal + '\'' +
                ", dmId=" + dmId +
                ", shopPhoto='" + shopPhoto + '\'' +
                ", legalIDback='" + legalIDback + '\'' +
                ", legalIDfront='" + legalIDfront + '\'' +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                ", license='" + license + '\'' +
                ", localIDback='" + localIDback + '\'' +
                ", localIDfront='" + localIDfront + '\'' +
                ", localShopPhoto='" + localShopPhoto + '\'' +
                ", localLicense='" + localLicense + '\'' +
                ", provinceName='" + provinceName + '\'' +
                ", cityName='" + cityName + '\'' +
                ", townName='" + townName + '\'' +
                ", cityId=" + cityId +
                ", townId=" + townId +
                ", provinceId=" + provinceId +
                ", type=" + type +
                ", bankIcon='" + bankIcon + '\'' +
                ", headImage='" + headImage + '\'' +
                ", vipIcon='" + vipIcon + '\'' +
                ", qrcode='" + qrcode + '\'' +
                ", oneCategoryId='" + oneCategoryId + '\'' +
                ", categoryName='" + categoryName + '\'' +
                ", authStatus=" + authStatus +
                ", createTime=" + createTime +
                ", remark='" + remark + '\'' +
                ", imagePath='" + imagePath + '\'' +
                ", state=" + state +
                ", businessDesc='" + businessDesc + '\'' +
                ", oneCategoryName='" + oneCategoryName + '\'' +
                ", discount='" + discount + '\'' +
                ", contractName='" + contractName + '\'' +
                ", contractPhone='" + contractPhone + '\'' +
                ", shopPhotoInside='" + shopPhotoInside + '\'' +
                ", bankAddress='" + bankAddress + '\'' +
                ", bankUser='" + bankUser + '\'' +
                ", levelDesc='" + levelDesc + '\'' +
                ", endTime=" + endTime +
                ", isDiscount=" + isDiscount +
                ", discountId=" + discountId +
                ", isFranchise=" + isFranchise +
                '}';
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getShopAdd() {
        return shopAdd;
    }

    public void setShopAdd(String shopAdd) {
        this.shopAdd = shopAdd;
    }

    public String getIDCard() {
        return IDCard;
    }

    public void setIDCard(String IDCard) {
        this.IDCard = IDCard;
    }

    public String getBankNum() {
        return bankNum;
    }

    public void setBankNum(String bankNum) {
        this.bankNum = bankNum;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getRegisterNum() {
        return registerNum;
    }

    public void setRegisterNum(String registerNum) {
        this.registerNum = registerNum;
    }

    public String getLegal() {
        return legal;
    }

    public void setLegal(String legal) {
        this.legal = legal;
    }

    public long getDmId() {
        return dmId;
    }

    public void setDmId(long dmId) {
        this.dmId = dmId;
    }

    public String getShopPhoto() {
        return shopPhoto;
    }

    public void setShopPhoto(String shopPhoto) {
        this.shopPhoto = shopPhoto;
    }

    public String getLegalIDback() {
        return legalIDback;
    }

    public void setLegalIDback(String legalIDback) {
        this.legalIDback = legalIDback;
    }

    public String getLegalIDfront() {
        return legalIDfront;
    }

    public void setLegalIDfront(String legalIDfront) {
        this.legalIDfront = legalIDfront;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getLocalIDback() {
        return localIDback;
    }

    public void setLocalIDback(String localIDback) {
        this.localIDback = localIDback;
    }

    public String getLocalIDfront() {
        return localIDfront;
    }

    public void setLocalIDfront(String localIDfront) {
        this.localIDfront = localIDfront;
    }

    public String getLocalShopPhoto() {
        return localShopPhoto;
    }

    public void setLocalShopPhoto(String localShopPhoto) {
        this.localShopPhoto = localShopPhoto;
    }

    public String getLocalLicense() {
        return localLicense;
    }

    public void setLocalLicense(String localLicense) {
        this.localLicense = localLicense;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getTownName() {
        return townName;
    }

    public void setTownName(String townName) {
        this.townName = townName;
    }

    public long getCityId() {
        return cityId;
    }

    public void setCityId(long cityId) {
        this.cityId = cityId;
    }

    public long getTownId() {
        return townId;
    }

    public void setTownId(long townId) {
        this.townId = townId;
    }

    public long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(long provinceId) {
        this.provinceId = provinceId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getBankIcon() {
        return bankIcon;
    }

    public void setBankIcon(String bankIcon) {
        this.bankIcon = bankIcon;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public String getVipIcon() {
        return vipIcon;
    }

    public void setVipIcon(String vipIcon) {
        this.vipIcon = vipIcon;
    }

    public String getQrcode() {
        return qrcode;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode;
    }

    public String getOneCategoryId() {
        return oneCategoryId;
    }

    public void setOneCategoryId(String oneCategoryId) {
        this.oneCategoryId = oneCategoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public int getAuthStatus() {
        return authStatus;
    }

    public void setAuthStatus(int authStatus) {
        this.authStatus = authStatus;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getBusinessDesc() {
        return businessDesc;
    }

    public void setBusinessDesc(String businessDesc) {
        this.businessDesc = businessDesc;
    }

    public String getOneCategoryName() {
        return oneCategoryName;
    }

    public void setOneCategoryName(String oneCategoryName) {
        this.oneCategoryName = oneCategoryName;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public String getContractPhone() {
        return contractPhone;
    }

    public void setContractPhone(String contractPhone) {
        this.contractPhone = contractPhone;
    }

    public String getShopPhotoInside() {
        return shopPhotoInside;
    }

    public void setShopPhotoInside(String shopPhotoInside) {
        this.shopPhotoInside = shopPhotoInside;
    }

    public String getBankAddress() {
        return bankAddress;
    }

    public void setBankAddress(String bankAddress) {
        this.bankAddress = bankAddress;
    }

    public String getBankUser() {
        return bankUser;
    }

    public void setBankUser(String bankUser) {
        this.bankUser = bankUser;
    }

    public String getLevelDesc() {
        return levelDesc;
    }

    public void setLevelDesc(String levelDesc) {
        this.levelDesc = levelDesc;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public int getIsDiscount() {
        return isDiscount;
    }

    public void setIsDiscount(int isDiscount) {
        this.isDiscount = isDiscount;
    }

    public long getDiscountId() {
        return discountId;
    }

    public void setDiscountId(long discountId) {
        this.discountId = discountId;
    }

    public int getIsFranchise() {
        return isFranchise;
    }

    public void setIsFranchise(int isFranchise) {
        this.isFranchise = isFranchise;
    }

}
